package other_其他模式.mvc_pattern_模型视图控制器模式;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: hihi
 * @Date: 2020/07/10/9:52
 * @Description:
 */
public class Student {

	private String name;
	private String rollNo;

	public Student(String name, String rollNo) {
		this.name = name;
		this.rollNo = rollNo;
	}

	public Student() {
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRollNo() {
		return rollNo;
	}

	public void setRollNo(String rollNo) {
		this.rollNo = rollNo;
	}

	@Override public String toString() {
		return "Student{" +
				"name='" + name + '\'' +
				", rollNo='" + rollNo + '\'' +
				'}';
	}
}
